/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.server.auth.model;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2020-09-24
 * @version 1.0
 * @since 1.0
 */
public class AuthJobCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static AuthJobCriteria create() {
		return new AuthJobCriteria();
	}
	
	public static AuthJobCriteria create(Column column) {
		AuthJobCriteria that = new AuthJobCriteria();
		that.add(column);
        return that;
    }

    public static AuthJobCriteria create(String name, Object value) {
        return (AuthJobCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("lk_auth_job", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public AuthJobCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public AuthJobCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public AuthJobCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public AuthJobCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public AuthJobCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public AuthJobCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public AuthJobCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public AuthJobCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public AuthJobCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public AuthJobCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public AuthJobCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public AuthJobCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public AuthJobCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public AuthJobCriteria andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public AuthJobCriteria andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public AuthJobCriteria andIdIsEmpty() {
		empty("id");
		return this;
	}

	public AuthJobCriteria andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public AuthJobCriteria andIdEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdNotEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdGreaterThan(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdLessThan(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Integer", "Float");
    	  return this;
      }

      public AuthJobCriteria andIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Integer", "Float");
          return this;
      }
        
      public AuthJobCriteria andIdIn(List<java.lang.Integer> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andIdNotIn(List<java.lang.Integer> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Integer", "Float");
          return this;
      }
	public AuthJobCriteria andNameIsNull() {
		isnull("name");
		return this;
	}
	
	public AuthJobCriteria andNameIsNotNull() {
		notNull("name");
		return this;
	}
	
	public AuthJobCriteria andNameIsEmpty() {
		empty("name");
		return this;
	}

	public AuthJobCriteria andNameIsNotEmpty() {
		notEmpty("name");
		return this;
	}
        public AuthJobCriteria andNameLike(java.lang.String value) {
    	   addCriterion("name", value, ConditionMode.FUZZY, "name", "java.lang.String", "Float");
    	   return this;
      }

      public AuthJobCriteria andNameNotLike(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_FUZZY, "name", "java.lang.String", "Float");
          return this;
      }
      public AuthJobCriteria andNameEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameNotEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameGreaterThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameLessThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("name", value1, value2, ConditionMode.BETWEEN, "name", "java.lang.String", "String");
    	  return this;
      }

      public AuthJobCriteria andNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("name", value1, value2, ConditionMode.NOT_BETWEEN, "name", "java.lang.String", "String");
          return this;
      }
        
      public AuthJobCriteria andNameIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.IN, "name", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andNameNotIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.NOT_IN, "name", "java.lang.String", "String");
          return this;
      }
	public AuthJobCriteria andCodeIsNull() {
		isnull("code");
		return this;
	}
	
	public AuthJobCriteria andCodeIsNotNull() {
		notNull("code");
		return this;
	}
	
	public AuthJobCriteria andCodeIsEmpty() {
		empty("code");
		return this;
	}

	public AuthJobCriteria andCodeIsNotEmpty() {
		notEmpty("code");
		return this;
	}
        public AuthJobCriteria andCodeLike(java.lang.String value) {
    	   addCriterion("code", value, ConditionMode.FUZZY, "code", "java.lang.String", "String");
    	   return this;
      }

      public AuthJobCriteria andCodeNotLike(java.lang.String value) {
          addCriterion("code", value, ConditionMode.NOT_FUZZY, "code", "java.lang.String", "String");
          return this;
      }
      public AuthJobCriteria andCodeEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeNotEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.NOT_EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeGreaterThan(java.lang.String value) {
          addCriterion("code", value, ConditionMode.GREATER_THEN, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.GREATER_EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeLessThan(java.lang.String value) {
          addCriterion("code", value, ConditionMode.LESS_THEN, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeLessThanOrEqualTo(java.lang.String value) {
          addCriterion("code", value, ConditionMode.LESS_EQUAL, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("code", value1, value2, ConditionMode.BETWEEN, "code", "java.lang.String", "String");
    	  return this;
      }

      public AuthJobCriteria andCodeNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("code", value1, value2, ConditionMode.NOT_BETWEEN, "code", "java.lang.String", "String");
          return this;
      }
        
      public AuthJobCriteria andCodeIn(List<java.lang.String> values) {
          addCriterion("code", values, ConditionMode.IN, "code", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andCodeNotIn(List<java.lang.String> values) {
          addCriterion("code", values, ConditionMode.NOT_IN, "code", "java.lang.String", "String");
          return this;
      }
	public AuthJobCriteria andOrganizationIdIsNull() {
		isnull("organization_id");
		return this;
	}
	
	public AuthJobCriteria andOrganizationIdIsNotNull() {
		notNull("organization_id");
		return this;
	}
	
	public AuthJobCriteria andOrganizationIdIsEmpty() {
		empty("organization_id");
		return this;
	}

	public AuthJobCriteria andOrganizationIdIsNotEmpty() {
		notEmpty("organization_id");
		return this;
	}
       public AuthJobCriteria andOrganizationIdEqualTo(java.lang.Integer value) {
          addCriterion("organization_id", value, ConditionMode.EQUAL, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdNotEqualTo(java.lang.Integer value) {
          addCriterion("organization_id", value, ConditionMode.NOT_EQUAL, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdGreaterThan(java.lang.Integer value) {
          addCriterion("organization_id", value, ConditionMode.GREATER_THEN, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("organization_id", value, ConditionMode.GREATER_EQUAL, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdLessThan(java.lang.Integer value) {
          addCriterion("organization_id", value, ConditionMode.LESS_THEN, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("organization_id", value, ConditionMode.LESS_EQUAL, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("organization_id", value1, value2, ConditionMode.BETWEEN, "organizationId", "java.lang.Integer", "Float");
    	  return this;
      }

      public AuthJobCriteria andOrganizationIdNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("organization_id", value1, value2, ConditionMode.NOT_BETWEEN, "organizationId", "java.lang.Integer", "Float");
          return this;
      }
        
      public AuthJobCriteria andOrganizationIdIn(List<java.lang.Integer> values) {
          addCriterion("organization_id", values, ConditionMode.IN, "organizationId", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andOrganizationIdNotIn(List<java.lang.Integer> values) {
          addCriterion("organization_id", values, ConditionMode.NOT_IN, "organizationId", "java.lang.Integer", "Float");
          return this;
      }
	public AuthJobCriteria andJobTypeIsNull() {
		isnull("job_type");
		return this;
	}
	
	public AuthJobCriteria andJobTypeIsNotNull() {
		notNull("job_type");
		return this;
	}
	
	public AuthJobCriteria andJobTypeIsEmpty() {
		empty("job_type");
		return this;
	}

	public AuthJobCriteria andJobTypeIsNotEmpty() {
		notEmpty("job_type");
		return this;
	}
        public AuthJobCriteria andJobTypeLike(java.lang.String value) {
    	   addCriterion("job_type", value, ConditionMode.FUZZY, "jobType", "java.lang.String", "Float");
    	   return this;
      }

      public AuthJobCriteria andJobTypeNotLike(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.NOT_FUZZY, "jobType", "java.lang.String", "Float");
          return this;
      }
      public AuthJobCriteria andJobTypeEqualTo(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.EQUAL, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeNotEqualTo(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.NOT_EQUAL, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeGreaterThan(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.GREATER_THEN, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.GREATER_EQUAL, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeLessThan(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.LESS_THEN, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeLessThanOrEqualTo(java.lang.String value) {
          addCriterion("job_type", value, ConditionMode.LESS_EQUAL, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("job_type", value1, value2, ConditionMode.BETWEEN, "jobType", "java.lang.String", "String");
    	  return this;
      }

      public AuthJobCriteria andJobTypeNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("job_type", value1, value2, ConditionMode.NOT_BETWEEN, "jobType", "java.lang.String", "String");
          return this;
      }
        
      public AuthJobCriteria andJobTypeIn(List<java.lang.String> values) {
          addCriterion("job_type", values, ConditionMode.IN, "jobType", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobTypeNotIn(List<java.lang.String> values) {
          addCriterion("job_type", values, ConditionMode.NOT_IN, "jobType", "java.lang.String", "String");
          return this;
      }
	public AuthJobCriteria andStatusIsNull() {
		isnull("status");
		return this;
	}
	
	public AuthJobCriteria andStatusIsNotNull() {
		notNull("status");
		return this;
	}
	
	public AuthJobCriteria andStatusIsEmpty() {
		empty("status");
		return this;
	}

	public AuthJobCriteria andStatusIsNotEmpty() {
		notEmpty("status");
		return this;
	}
       public AuthJobCriteria andStatusEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusNotEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.NOT_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusGreaterThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusLessThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("status", value1, value2, ConditionMode.BETWEEN, "status", "java.lang.Integer", "Float");
    	  return this;
      }

      public AuthJobCriteria andStatusNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("status", value1, value2, ConditionMode.NOT_BETWEEN, "status", "java.lang.Integer", "Float");
          return this;
      }
        
      public AuthJobCriteria andStatusIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.IN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public AuthJobCriteria andStatusNotIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.NOT_IN, "status", "java.lang.Integer", "Float");
          return this;
      }
	public AuthJobCriteria andJobLevelIsNull() {
		isnull("job_level");
		return this;
	}
	
	public AuthJobCriteria andJobLevelIsNotNull() {
		notNull("job_level");
		return this;
	}
	
	public AuthJobCriteria andJobLevelIsEmpty() {
		empty("job_level");
		return this;
	}

	public AuthJobCriteria andJobLevelIsNotEmpty() {
		notEmpty("job_level");
		return this;
	}
        public AuthJobCriteria andJobLevelLike(java.lang.String value) {
    	   addCriterion("job_level", value, ConditionMode.FUZZY, "jobLevel", "java.lang.String", "Float");
    	   return this;
      }

      public AuthJobCriteria andJobLevelNotLike(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.NOT_FUZZY, "jobLevel", "java.lang.String", "Float");
          return this;
      }
      public AuthJobCriteria andJobLevelEqualTo(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.EQUAL, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelNotEqualTo(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.NOT_EQUAL, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelGreaterThan(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.GREATER_THEN, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.GREATER_EQUAL, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelLessThan(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.LESS_THEN, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelLessThanOrEqualTo(java.lang.String value) {
          addCriterion("job_level", value, ConditionMode.LESS_EQUAL, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("job_level", value1, value2, ConditionMode.BETWEEN, "jobLevel", "java.lang.String", "String");
    	  return this;
      }

      public AuthJobCriteria andJobLevelNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("job_level", value1, value2, ConditionMode.NOT_BETWEEN, "jobLevel", "java.lang.String", "String");
          return this;
      }
        
      public AuthJobCriteria andJobLevelIn(List<java.lang.String> values) {
          addCriterion("job_level", values, ConditionMode.IN, "jobLevel", "java.lang.String", "String");
          return this;
      }

      public AuthJobCriteria andJobLevelNotIn(List<java.lang.String> values) {
          addCriterion("job_level", values, ConditionMode.NOT_IN, "jobLevel", "java.lang.String", "String");
          return this;
      }
}